/* ===================================================================
 * Copyright (C) 2024 Hefei Jiushao Intelligent Technology Co., Ltd.
 * All rights reserved.
 *
 * This software is licensed under the GNU Affero General Public License
 * v3.0 (AGPLv3.0) or a commercial license. You may choose to use this
 * software under the terms of either license.
 *
 * For more information about the AGPLv3.0 license, please visit:
 * https://www.gnu.org/licenses/agpl-3.0.html
 * For licensing inquiries or to obtain a commercial license, please
 * contact Hefei Jiushao Intelligent Technology Co., Ltd.
 * ===================================================================
 * Author: JasonChen
 */

#ifndef STRING_UTIL_H
#define STRING_UTIL_H
#include <string>
#include "common/constant.h"

namespace AMCAX_EXCHANGE_NAMESPACE::string_util
{
    std::string generate_UUID() ;
    bool is_last_char(const std::string s, const char ch);
    std::string to_lower_case(const std::string s);
    std::string get_current_time() ;
    bool IsEqualIgnoreCaseAfterTrim(const std::string &s1, const std::string &s2) ;
}

#endif // STRING_UTIL_H